package chpt08;

import java.io.PrintWriter;
public class FormatPrint {
	public static void main(String[] args){
		int a = 101;
		double b = 102.57;
		PrintWriter out = new PrintWriter(System.out,true);
		out.format("The result is %d and %4.1f%n",a,b);
	}
}
